#pragma once

#include <QString>
#include <QList>

class QFile;
class QTextStream;

class GameRecord
{
public:
    GameRecord(void);
    virtual ~GameRecord(void);

    static void Save(QString fileName, const QList<int> &record);
    bool Load(QString fileName);
    int NextElement();

private:
    QString name;
    QFile *file;
    QTextStream *stream;

    void destroy();
};

